package com.prs.crm.service.oa.impl;

import java.util.Collection;
import java.util.List;

import com.prs.crm.dao.oa.VehicleInsuranceTypeDao;
import com.prs.crm.domain.oa.VehicleInsuranceType;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.oa.VehicleInsuranceTypeService;

public class VehicleInsuranceTypeServiceImpl extends BaseServiceImpl<VehicleInsuranceType,VehicleInsuranceTypeDao> implements VehicleInsuranceTypeService{

	@Override
	public List<VehicleInsuranceType> getAllVehicleInsuranceType() {
		// TODO Auto-generated method stub
		return this.getDao().getAllType();
	}

	@Override
	public Collection<VehicleInsuranceType> getRootVehicleInsuranceTypes() {
		// TODO Auto-generated method stub
		return this.getDao().getRootVehicleInsuranceTypes();
	}

}
